import React, { PureComponent } from "react";
import styles from "./index.less";

import FlowDataDetail from "../../../../components/flowdataDetail";

class FlowHandleDetail extends PureComponent {
  handleExit = () => {
    const { history } = this.props;
    history.goBack();
  };

  render() {
    return (
      <div className={styles.root}>
        <FlowDataDetail handleExit={this.handleExit} />
      </div>
    );
  }
}

export default FlowHandleDetail;
